﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;

namespace BaiTu.Config.Testing
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            List<ConfigInfo.EventEntity> list = new List<ConfigInfo.EventEntity>();
            list.Add(new ConfigInfo.EventEntity() { EventFullType = "11", EventProcessorType = "22", EventSourceType = "222" });
            BaiTu.ConfigInfo.EventBusConfigInfo config = new ConfigInfo.EventBusConfigInfo()
            {
                Apply = true,
                EventType = "sss",
                EventEntities = list

            };
            BaiTu.Config.EventBusConfig.SaveConfig(config);
        }
    }
}
